package com.sunjs.wechat.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sunjs.model.LyProduct;
import com.sunjs.model.LyProductSku;
import com.sunjs.model.LyProductSort;
import com.sunjs.wechat.dao.WxProductMapper;
import com.sunjs.wechat.service.WxProductService;


@Service
public class WxProductServiceImpl implements WxProductService {

	@Autowired
	private WxProductMapper wxProductMapper;

	@Override
	public List<LyProduct> selectShowProduct(LyProduct lyProduct) {
		return wxProductMapper.selectShowProduct(lyProduct);
	}

	@Override
	public List<LyProduct> selectSearchProduct(LyProduct lyProduct) {
		return wxProductMapper.selectSearchProduct(lyProduct);
	}

//	@Override
//	public List<LyProductSort> selectProductSort(LyProductSort lyProductSort) {
//		return wxProductMapper.selectProductSort(lyProductSort);
//	}

	@Override
	public List<LyProduct> selectProductByLevel(LyProductSort lyProductSort) {
		return wxProductMapper.selectProductByLevel(lyProductSort);
	}

	@Override
	public List<LyProductSort> selectProductSortLevel(LyProductSort lyProductSort) {
		return wxProductMapper.selectProductSortLevel(lyProductSort);
	}

	@Override
	public List<LyProductSort> selectProductSortLevelList(LyProductSort lyProductSort) {
		return wxProductMapper.selectProductSortLevelList(lyProductSort);
	}

	@Override
	public LyProduct selectProductInfo(LyProduct lyProduct) {
		return wxProductMapper.selectProductInfo(lyProduct);
	}

	@Override
	public LyProductSku selectSkuInfo(LyProductSku lyProductSku) {
		return wxProductMapper.selectSkuInfo(lyProductSku);
	}
	

}
